package cn.xianyang.server;

import cn.xianyang.domain.Movie;
import cn.xianyang.utils.AjaxResult;

import java.util.List;

public interface IMovieServer {

    List<Movie> findAll();

    AjaxResult buyTickets(Long number, Long id);

    Movie findById(Long id);

    Movie findMaxTicket();

}
